﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="4.3.aspx.cs" Inherits="第四章._4__3" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
                <h1>表格联动</h1><br />
                学年&nbsp<asp:DropDownList ID="DrDoAcaYear" AutoPostBack="true" runat="server">
                    <asp:ListItem>2018学年</asp:ListItem>
                    <asp:ListItem>2019学年</asp:ListItem>
                    <asp:ListItem>2020学年</asp:ListItem>
                    <asp:ListItem>2021学年</asp:ListItem>
                </asp:DropDownList>&nbsp&nbsp&nbsp
                学期&nbsp<asp:DropDownList ID="DrDoTerm" AutoPostBack="true" runat="server">
                    <asp:ListItem>第一学期</asp:ListItem>
                    <asp:ListItem>第二学期</asp:ListItem>
                </asp:DropDownList>&nbsp&nbsp&nbsp
                分院&nbsp<asp:DropDownList ID="DrDoInstitute" AutoPostBack="true" runat="server" OnSelectedIndexChanged="DrDoInstitute_SelectedIndexChanged" >
                    <asp:ListItem>计算机与信息工程学院</asp:ListItem>
                    <asp:ListItem>数学与统计学院</asp:ListItem>
                    <asp:ListItem>机械工程学院</asp:ListItem>
                    <asp:ListItem>土木工程与建筑学院</asp:ListItem>
                    <asp:ListItem>文学院</asp:ListItem>
                </asp:DropDownList>&nbsp&nbsp&nbsp
                教师&nbsp<asp:DropDownList ID="DrDoTeacher" 
                    AutoPostBack="true" runat="server" OnSelectedIndexChanged="DrDoTeacher_SelectedIndexChanged" 
                     ></asp:DropDownList>
                <p>
                    <asp:Table  ID="TableInfo" runat="server">
                        <asp:TableFooterRow runat="server">
                            <asp:TableCell runat="server">学年</asp:TableCell>
                            <asp:TableCell runat="server">学期</asp:TableCell>
                            <asp:TableCell runat="server">分院</asp:TableCell>
                            <asp:TableCell runat="server">教师</asp:TableCell>
                        </asp:TableFooterRow>
                    </asp:Table>
                </p>
        </div>
    </form>
</body>
</html>
